﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GBMS.IBLL;
using KPIS.GERP.GBMS.MODEL;
using KPIS.GERP.GBMS.DAL;
using KPIS.GERP.GBMS.DALFactory;

namespace KPIS.GERP.GBMS.BLL
{
    public class RequestExpensePlanBLL : IRequestExpensePlanBLL
    {
        private static readonly IRequestExpensePlanDAL dal = DataAccess.CreateRequestExpensePlan();

        public DataSet GetRequestExpensePlanByRequest(int reqSeq)
        {
            return dal.GetRequestExpensePlanByRequest(reqSeq);
        }

        public RequestExpensePlanInfo GetRequestExpensePlanByReqExpSeq(int reqExpSeq)
        {
            return dal.GetRequestExpensePlanByReqExpSeq(reqExpSeq);
        }
    }
}
